<!doctype html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport"
        content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <style>
    *{
      margin: 0;
      padding: 0;
    }
    .html,body{
      overflow: hidden;
    }
    #app {
      width: 500px;
      height: 500px;
      margin: 200px auto 0;
      border: 1px solid royalblue;
      perspective: 2000px;
      perspective-origin: 0 -100%;
      display: flex;
      align-items: center;
      justify-content: space-around;
    }
    .surface {
      width: 10%;
      height: 10%;
      background: aqua;
      transform-style: preserve-3d;
      /*animation: move 5s linear infinite;*/
    }
    li {
      list-style-type: none;
      border: 1px solid #000;
    }
    @keyframes move {
      from {transform: rotateY(0)}
      to {transform: rotateY(-360deg)}
    }
  </style>
</head>
<body>

  <ul id="app">
    <li class="surface"></li>
    <li class="surface"></li>
    <li class="surface"></li>
    <li class="surface"></li>
    <li class="surface"></li>
    <li class="surface"></li>
    <li class="surface"></li>
    <li class="surface"></li>
  </ul>
</body>
</html>
